<!DOCTYPE html>

<html lang="pt-BR">
    <head>
    	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    	<link rel="stylesheet" type="text/css" href="<?php echo Fencer_Config::getPastaCss(); ?>/login.css" />
    	<link rel="stylesheet" type="text/css" href="<?php echo Fencer_Config::getPastaCss(); ?>/smoothness/jquery-ui-1.8.18.custom.css" />
		<script type="text/javascript" src="<?php echo Fencer_Config::getPastaJs(); ?>/jquery/jquery-1.7.2.js"></script>
		<script type="text/javascript" src="<?php echo Fencer_Config::getPastaJs(); ?>/jquery/jquery-1.7.2.min.js"></script>
		<script type="text/javascript" src="<?php echo Fencer_Config::getPastaJs(); ?>/jquery/jquery-ui-1.8.21.custom.min.js"></script>
		<script type="text/javascript" src="<?php echo Fencer_Config::getPastaJs(); ?>/jquery/jquery.validate.min.js"></script>
		<script type="text/javascript" src="<?php echo Fencer_Config::getPastaJs(); ?>/jquery/jquery.maskedinput-1.3.min.js"></script>
		<script type="text/javascript" src="<?php echo Fencer_Config::getPastaJs(); ?>/jquery/fencer.js"></script>
    	 
    	<title>DançArt Web - Estúdio de Dança</title>

	    <script type="text/javascript">
		    function UR_Start(){
		    	UR_Nu = new Date;
		    	UR_Indhold = showFilled(UR_Nu.getHours()) + ":" + showFilled(UR_Nu.getMinutes()) + ":" + showFilled(UR_Nu.getSeconds());
		    	$("#ur").html(UR_Indhold);
		    	setTimeout("UR_Start()",1000);
			}
			
		    function showFilled(Value){
				return (Value > 9) ? "" + Value : "0" + Value;
			}   
	    </script>
    </head>
	
    <body onload="UR_Start()">
    
   		<div id="corpo">
	    	<div id="conteudo">
    			 <div id="cabecalho">
	    			<div id="logo-cabecalho">
	    				<img src="<?php echo Fencer_Config::getPastaImagens();?>/logo.png">
	    			</div>
	    		</div>
				<?php echo $this->layout()->content; ?>
    		</div>
	 		<div id="rodape">
	    		<div id="rodape-esquerdo" >
	    			Data: <?php echo date("d/m/Y")?> - <font id="ur"></font>
	    		</div>
	    		<div id="rodape-direito">
	    			DançArt Web - Estúdio de Dança
	    		</div>
	    	</div>
 		</div>
 		<div id="mensagem" title="Mensagem do Sistema">
			<p id="conteudoMensagem"></p>
		</div>
	    <?php 
		//Verificando se existe mensagens para serem exibidas
		 $session = Fencer_Utils::getZendSession();
			 if( $session->mensagem != '' ){ ?>
		    	<script>
		     		$("#conteudoMensagem").html("<?php echo $session->mensagem; ?>");
		
					$( "#mensagem" ).dialog({
						modal: true,
						resizable: false,
						width: 300,
						buttons: {
							Ok: function() {
								$(this).dialog( "close" );
							}
						}
					});
		    	</script>
		     <?php 
		     unset($session->mensagem);
		     } 
		?>  		
 	</body>
	    
</html>
